package com.cch.cooperation.dao.zone.model;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 提醒事项
 *
 * @author cch on 2024-10-07
 */
@ApiModel("提醒事项")
@Data
public class ZoneRemind implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("空间id")
    private String zoneId;

    @ApiModelProperty("提醒内容")
    private String content;

    @ApiModelProperty("提醒用户id，多个逗号隔开")
    private String remindUserIds;

    @ApiModelProperty("提醒时间，单次提醒时包含年月日时分秒")
    private String remindTime;

    @ApiModelProperty("提醒类型(1.单次 2.每日 3.每周 4.每月)")
    private Integer repeatType;

    @ApiModelProperty("完成条件，多个逗号隔开")
    private String completeConditions;

    @ApiModelProperty(value = "完成方式（1.单人 2.多人）")
    private Integer completeMode;

    @ApiModelProperty("事项文件信息")
    private String files;

    @ApiModelProperty("重要等级(0.不重要不紧急 1.紧急不重要 2.重要不紧急3.重要且紧急)")
    private Integer level;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("创建人id")
    private String createUserId;

    public static final String ID = "id";
    public static final String ZONE_ID = "zone_id";
    public static final String CONTENT = "content";
    public static final String REMIND_USER_IDS = "remind_user_ids";
    public static final String REMIND_TIME = "remind_time";
    public static final String REPEAT_TYPE = "repeat_type";
    public static final String COMPLETE_CONDITIONS = "complete_conditions";
    public static final String PICS = "pics";
    public static final String CREATE_TIME = "create_time";
    public static final String CREATE_USER_ID = "create_user_id";

}